<?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateAboutUsesTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('project_info', function (Blueprint $table) {
            $table->increments('id');
            $table->string('link_url')->nullable()->comment('链接');
            $table->text('content')->nullable()->comment('内容');
            $table->string('title')->nullable()->comment('标题 ');
            $table->string('desc')->nullable()->comment('描述');
            $table->integer('img_id')->default(0)->comment('图片ID');
            $table->string('type')->nullable()->comment('分类');
            $table->timestamps();
            $table->softDeletes();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::drop('about_uses');
    }
}
